package com.woniu.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 二手商品表(UsedProduct)实体类
 *
 * @author makejava
 * @since 2020-03-23 09:48:24
 */
@Data
public class UsedProduct implements Serializable {
    private static final long serialVersionUID = 612895049832801151L;
    /**
    * 主键-二手商品Id
    */
    private Integer id;
    /**
    * 发布商品用户Id
    */
    private Integer userId;
    /**
    * 发布商品商户Id
    */
    private Integer merchantId;
    /**
    * 当前小区Id
    */
    private Integer communityId;
    /**
    * 商品名称
    */
    private String productName;
    /**
    * 商品详情
    */
    private String productDetails;
    /**
    * 入手价格
    */
    private Object buyingPrice;
    /**
    * 出售价格
    */
    private Object ssellingPrice;
    /**
    * 数量
    */
    private Integer number;
    /**
    * 商品状态
    */
    private Integer status;
    /**
    * 商品类型Id
    */
    private Integer productTypeId;
    /**
    * 商品类型名称
    */
    private String productTypeName;
    /**
    * 商品创建时间
    */
    private Date creatTime;
    /**
    * 商品最后更新时间
    */
    private Date lastTime;
    /**
    * 送货方式
    */
    private Integer deliverMethod;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDetails() {
        return productDetails;
    }

    public void setProductDetails(String productDetails) {
        this.productDetails = productDetails;
    }

    public Object getBuyingPrice() {
        return buyingPrice;
    }

    public void setBuyingPrice(Object buyingPrice) {
        this.buyingPrice = buyingPrice;
    }

    public Object getSsellingPrice() {
        return ssellingPrice;
    }

    public void setSsellingPrice(Object ssellingPrice) {
        this.ssellingPrice = ssellingPrice;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getDeliverMethod() {
        return deliverMethod;
    }

    public void setDeliverMethod(Integer deliverMethod) {
        this.deliverMethod = deliverMethod;
    }

}